<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
  <meta name="viewport" id="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <meta name="format-detection" content="telephone=no"/>
  <title>打开小程序</title>
  <script>
    function initReq() {
      var url = document.getElementById("url").value;
      // alert(url);
      if(url!=''){
        window.location.href =  url;
      }
    }
  </script>
</head>
<body onload="initReq()">
<div class="head_btn">
  <input type="hidden" id="url" name="url" th:value="${url}" />
</div>
</body>
</html>



